package com.scanner.net;

import java.io.File;

public interface RxProgressListener {

    void onStartDownload();

    /**
     * 进度条，和文件大小
     * @param progress
     * @param total
     */
    void onProgress(int progress,long total);

    void onFinishDownload(File file);

    void onFail(String errorInfo);
}
